let koa=require('koa');
let controlers=require('./controlers');
let templaing=require('./templaing');
let statics=require('koa-statics');

let app=new koa();

app.use(statics(__dirname+'/statics'));
app.use(templaing);
app.use(controlers());







let port=9000;

app.listen(port);

console.log(`服务器在：http://127.0.0.1:${port}`);